package com.irdstudio.efp.riskm.service.facade;

import java.util.List;

import com.irdstudio.efp.riskm.service.vo.CooprOrgInfoVO;

/**
 * <p>Description:合作机构信息表				<p>
 * @author ligm
 * @date 2019-08-10
 */
public interface CooprOrgInfoService {
	
	public List<CooprOrgInfoVO> queryAllOwner(CooprOrgInfoVO cooprOrgInfoVo);
	
	public List<CooprOrgInfoVO> queryAllCurrOrg(CooprOrgInfoVO cooprOrgInfoVo);
	
	public List<CooprOrgInfoVO> queryAllCurrDownOrg(CooprOrgInfoVO cooprOrgInfoVo);
	
	public int insertCooprOrgInfo(CooprOrgInfoVO inCooprOrgInfoVo);
	
	public int deleteByPk(CooprOrgInfoVO cooprOrgInfoVo);
	
	public int updateByPk(CooprOrgInfoVO cooprOrgInfoVo);
	
	public CooprOrgInfoVO queryByPk(CooprOrgInfoVO cooprOrgInfoVo);
	
	public List<CooprOrgInfoVO> queryAllCooprOrgByPage(CooprOrgInfoVO cooprOrgInfoVo);


	/**
	 * 根据合作机构类型、合作状态为正常，获取分案的合作机构信息
	 * @author qiuyf
	 * @return
	 * @date 2019/9/4 10:15
	 * @version 0.1
	 */
	public List<CooprOrgInfoVO> getAllCooprOrgs(CooprOrgInfoVO cooprOrgInfoVo);

	public int inValidCooprOrgOverCooprDt();

	public List<CooprOrgInfoVO> getAllCooprOrgOverCooprDt();

}
